BB/StochRSI Strategy Backtest For Crypto BotThumbs Up for access
Buy is triggered when the price reaches chosen percent of lower Bollinger Band, Stoch RSI is oversold and there's a K/D signal crossover. The exit is when StochRSI is Overbought or K/D Crossover (toggle) AND/OR (toggle) price is greater than or equal to Top or Mid Bollinger Band (toggle).
Use 15m charts. It works excellent for consolidating/sideways markets and good for bullish impulsive moves but takes losses during impulsive downside market moves.
Results will be better in real-time. The script calculates the price based on the close, but a bot would calculate in real-time. Entries would be better. I recommend manually testing the strategy by using the "Date and Price Range" tool in TradingView.
I'll share the source code to those who wish to collaborate for improving profitability.
Pesquisar nos scripts por "the script"
[LAVA] Volume StratA volume strategy indicator based off the size of the individual volume candles. Backtest to figure out which method works the best for your chart. A higher Profit Factor is what you want to look for since you want to trade less with better results for an overall lower commissioning fee.
Also, please contact me if there is any other indicator you would be interested in seeing as a strategy. I can do them all.
Please send your donation to any of the following addresses. Don't forget to add your TV name to the message when donating so that I can unlock the script for you. You can also send me a pm with your donation amount.
BTC: 1EabcghxBLZmGKHmKEP9W6S5ZSKeG4wLFA
BCH: 1M4QS5HE82Mk17ghKhaDeaXinL9CkLnhhR
LTC: LYaGjVAXGSLgTNiH7FbceP7ny4F4U8KWyN
ETH: 0x836ced779a10975248f847cad033c405a639b565
DASH: XhQexkwQUyDbvX4Xw78FHnxPvEsyRJYFqv
Click here for more information on these various cryptocurrencies listed above and others.
[LAVA] OBV stratAn OBV strategy indicator. Included is a method to show the RSI or Oscillator value. Backtest to figure out which method works the best for your chart. A higher Profit Factor is what you want to look for since you want to trade less with better results for an overall lower commissioning fee.
Also, please contact me if there is any other indicator you would be interested in seeing as a strategy. I can do them all.
Please send your donation to any of the following addresses. Don't forget to add your TV name to the message when donating so that I can unlock the script for you. You can also send me a pm with your donation amount.
BTC: 1EabcghxBLZmGKHmKEP9W6S5ZSKeG4wLFA
BCH: 1M4QS5HE82Mk17ghKhaDeaXinL9CkLnhhR
ETH: 0x836ced779a10975248f847cad033c405a639b565
DASH: XhQexkwQUyDbvX4Xw78FHnxPvEsyRJYFqv
Click here for more information on these various cryptocurrencies listed above and others.
Double RSI with stochastic Strategy on UKOIL (by Zhipengcfel)Adapted the double RSI with stochastic strategy to UKOIL. I optimised the strategy input parameters for UKOIL. It looks promising.
Currently I have not adapted stop loss to the script yet, only enter and exit condition based on trend. Next step I will add stop loss for the strategy and backtest it again.
Due to it is still in development and optimisation, I am sorry that I will not publish it to public currently.
I just use it as a development elog.
Thanks to tradingview for such a good blog system. -:)
Open Close Cross Strategy R5 revised by JustUncleLThis revision is an open Public release, with just some minor changes. It is a revision of the Strategy "Open Close Cross Strategy R2" originally published by @JayRogers.
*** USE AT YOUR OWN RISK ***
JayRogers : "There are drawing/painting issues in pinescript when working across resolutions/timeframes that I simply cannot fix here.. I will not be putting any further effort into developing this until such a time when workarounds become available."
NOTE: Re-painting has not been observed with the default set up, nor with Alternate resolution multiplier up to 5.
Description:
Strategy based around Open-Close Moving Average Crossovers optionally from a higher time frame.
Setup:
I have generally found that setting the strategy resolution to 3-5x that of the chart you are viewing tends to yield the best results, regardless of which MA option you may choose (if any) BUT can cause a lot of false positives - be aware of this. JustUncleL: using one of the Smoothed MA helps reduce false positives.
Don't aim for perfection. Just aim to get a reasonably snug fit with the O-C band, with good runs of green and red. JustUncleL: using SMMA (8 to 10) gives a good fit.
Option to either use basic open and close series data, or pick your poison with a wide array of MA types.
Optional Stop Loss and Target Profit for damage mitigation if desired (can be toggled on/off)
Positions get taken automatically following a crossover - which is why it's better to set the resolution of the script greater than that of your chart, so that the trades get taken sooner rather than later.
If you make use of the stops/target profit, be sure to take your time tweaking the values. Cutting it too fine will cost you profits but keep you safer, while letting them loose could lead to more draw down than you can handle.
Revsion R5 Changes by JustUncleL
Corrected cross over calculations, sometimes gave false signals.
Corrected Alternate Time calculation to allow for Daily,Weekly and Monthly charts.
Open Public release.
Revision R4 By JustUncleL
Change the way the Alternate resolution in selected, use a Multiplier of the base Time Frame instead, this makes it easy to switch between base time frames.
Added TMA and SSMA moving average options. But DEMA is still giving the best results.
Using "calc_on_every_tick=false" ensures results between back testing and real time are similar.
Added Option to Disable the coloring of the bars.
Updated default settings.
R3 Changes by JustUncleL:
Returned a simplified version of the open/close channel, it shows strength of current trend.
Added Target Profit Option.
Added option to reduce the number of historical bars, overcomes the too many trades limit error.
Simplified the strategy code.
Removed Trailing Stop option, not required and in my option does not work well in Trading View, it also gives false and unrealistic performance results in back testing.
R2 Changes by @JayRogers:
Simplified and cleaned up plotting, now just shows a Moving Average derived from the average of open/close.
Tried very hard to alleviate painting issues caused by referencing alternate resolution.
HullMA cross StrategyFrom Indicator420 by SeaSide420 HULL MOVING AVERAGE CROSS & CANDLE CROSS
Hull Moving Average (HMA) formula
Integer(SquareRoot(Period)) WMA (2 x Integer(Period/2) WMA(Price) - Period WMA(Price))
Solving the problem of lag requires an explanation with numbers rather than charts. Consider a series of 10 numbers from '0' to '9' inclusive and imagine that they are successive price points on a chart with 9 being the most recent price point at the right hand leading edge.
If we take the 10 period simple average of these numbers then, not surprisingly, we will determine the midpoint of 4.5 which significantly lags behind the most recent price point of 9. Here's the clever bit, first let's halve the period of the average to 5 and apply it to the most recent numbers of 5, 6, 7, 8 and 9, the result being the midpoint of 7.
To remove the lag we take the midpoint of 7 and add the difference between the two averages which equals 2.5 (7 - 4.5). This gives a final answer of 9.5 (7 + 2.5) which is a slight overcompensation. But this overcompensation is very handy because it offsets the lagging effect of the nested averaging.
Hence the result of combining these 2 techniques is a near perfect balance between lag reduction and curve smoothing. The HMA manages to keep up with rapid changes in price activity whilst having superior smoothing over an SMA of the same period.
The HMA employs weighted moving averages and dampens the smoothing effect (and resulting lag) by using the square root of the period instead of the actual period itself.
There are 3 HullMAs in the script, one runs on current price, and others on previous candle prices, when they cross over, is the entry signal.
The strategy also includes a candle cross condition for entry:
(if current price greater than previous candle value (Open+High+Low+Close)/4) then BUY
(if current price less than previous candle value (Open+High+Low+Close)/4) then SELL
in total 4 crossover conditions must be met to initiate a signal.
Scalping 15min: EMA + MACD + RSI + ATR-based SL/TP📈 Strategy: 15-Minute Scalping — EMA + MACD + RSI + ATR-based SL/TP
This scalping strategy is designed for 15-minute charts and combines trend-following and momentum confirmation with dynamic stop loss and take profit levels based on volatility.
🔧 Indicators Used:
EMA 50 — identifies the main trend
MACD Histogram — confirms momentum direction
RSI (14) — filters overbought/oversold conditions
ATR (14) — dynamically sets SL and TP based on market volatility
📊 Entry Conditions:
Long Entry:
Price is above EMA 50
MACD histogram is positive
RSI is above 50 but below 70
Short Entry:
Price is below EMA 50
MACD histogram is negative
RSI is below 50 but above 30
🛑 Risk Management:
Stop Loss: 1×ATR (user-configurable)
Take Profit: 2×ATR (user-configurable)
These values can be adjusted in the script inputs depending on your risk/reward preference or market conditions.
⚠️ Notes:
Strategy is optimized for scalping fast-moving pairs (e.g. crypto, forex).
Works best in trending markets.
Use backtesting and forward testing before live trading.
MA cross strategyI created an sma (10/30) strategy.
The script is under construction and can be changed, since i'm looking for a more profitable strategy.
If you have ideas to make it more profitable, please comment.
It is possible to change everything to your own needs.
Donchian Breakout no repaintdonchian breakout strategy which i revise the script for no repaint signal
Companion::InsurgentCompanion::Insurgent is a combined indicators strategy. Performances are pretty good on 1D, 4H and 1H timeframes and it can be used on Bitcoin and Altcoin markets.
Mainly, it is a trategy based on Ehlers formulas.
Used indicators:
- Ehlers Instantaneous Trend: trendline analysis;
- Ehlers Super Bandpass Filter: momentum detection;
- EMA: Long/Short time selector.
What the script does:
- determines trendlines combining mulitple indicators;
- automaticlally calculates Take profit and Stop Loss levels;
- permits automation generating Autoview signals (create an alert with {{strategy.order.alert_message}} in message text field to trap Autoview commands;
- supports for margin trading. Spot trading will be added in the future.
BACKTESTING
Backtest is not leveraged. Defaults are set as follow:
Capital: 10000
Percent of equity used for trades: 10%
Commission: 0.18% this is Bitfinex commission on orders
Change them accordingly on how you trade to get a more realistic backtest results.
Custom 15m stratThis strategy is using multiple powerful indicators to generate low-timeframe signals. The script is best used on the 15 min timeframe but with correct parameters it can be rather sucesfull on higher timeframes too.
3 HULLs & ICHIMOKU divided by PRICEBasically just another form of moving average, for quick swings, built for testing/use with API cryptobots, simple switch from buy to sell.
Hull MA(2 candles back) times 3 plus Ichimoku divided by price(1 candle back) = value1
Hull MA(3 candles back) times 3 plus Ichimoku divided by price(1 candle back) = value2
if value1>value2 then buy else sell
calculates price from 1 candle back, and calculates signal from 2nd and 3rd candle prices, so no repainting? so best on low timeframes.
for when use in bot, would not need 1 candle lag. Lag is for TV chartists to not have to suffer repainting.
Bots do not repaint. they are not "painting" anything, they simply open or close orders, which cannot be "repainted"
but here on TV chart, when you refresh the browser page, the script recalculates, and signals may be repainted.
hopefully this will not repaint. please test. thankyou
Nifty50 (Intraday Trade) (No-Repaint) by MarketAlphaPlease ping me for 1-months free trial.
The script works best for Intraday trade on 30-minute candle chart of Nifty 50
Keep the Target @0.15% and StopLoss@0.20%
Please ping me for any queries
BTCUSD (NRML Trade) (No-Repaint) by MarketAlphaPlease ping me for 3-months free trial.
The script works best for delivery trade on 1-Day candle chart of BTCUSD 0.30% .
Please ping me for any queries
BTCUSD (NRML Trade) (No-Repaint) by Himansu.K14Please ping me for 3-months free trial.
The script works best for delivery trade on 1-Day candle chart of BTCUSD.
Please ping me for any queries.
ArbitrageArbitrage strategy based on different price between exchange. The best time frames 1m, 3m, 5m leverage up to 4. I use the script with more sensitive settings for trading with own robot development. Only for bitmex XBT/USD and rebate will be as bonus 0.025.
Channel + Rsi + TrendSimpleCombination with rsi + price channel + trend. Good approach to robot trading. The best time frame 1H leverage up to 5. I use the script for trading with own robot development. Only for bitmex XBT/USD and rebate will be as bonus 0.025)
Price channel + volatilityCombination with price channel + volatility. Good approach to robot and hand trading. The best time frame 1H leverage up to 7. I use the script for trading with own robot development. Only for bitmex XBT/USD and rebate will be as bonus 0.025)
Rsi + channelCombination with rsi + price channel. Good approach to robot trading. The best time frame 1H leverage up to 5. I use the script for trading with own robot development. Only for bitmex XBT/USD and rebate will be as bonus 0.025)